package page;

import com.sun.tools.javac.Main;

import javax.swing.*;
import java.awt.*;

public class Main_Page extends JFrame {
    private static final int WIDTH = 400;
    private static final int HEIGHT = 730;
    private JPanel contentPane;
    public Main_Page() {
        //frame
        this.setSize(WIDTH, HEIGHT);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setLocation(900,0);
        this.setVisible(true);
        this.setTitle("my_qq");
        //contentPane
        contentPane = new JPanel();
        this.setContentPane(contentPane);
        contentPane.setLayout(null);
        contentPane.setOpaque(true);
        contentPane.setBackground(Color.CYAN);
    }

    public static void main(String[] args) {
        new Main_Page();
    }
}
